package com.qiangesoft.blog.system.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author qiange
 * @date 2023-06-01
 */
@ApiModel("密码")
@Data
public class PasswordDTO {

    @NotBlank(message = "旧密码不能为空")
    @ApiModelProperty("昵称")
    private String oldPassword;

    @NotBlank(message = "密码不能为空")
    @ApiModelProperty("密码")
    private String password;

    @NotBlank(message = "校验密码不能为空")
    @ApiModelProperty("校验密码")
    private String checkPassword;

}
